<?php

class Mail {

    /**
     *
     * @var int
     */
    public $mail_id;
	
	/**
	*
	* @var int
	*/
	public $template_id;
	
	/**
     *
     * @var string
     */
    public $subject;
		
	/**
     *
     * @var string
     */
    public $content;

	/**
	*
	*@var int
	*/
	public $created_user_id;
	
	/**
     *
     * @var string
     */
    public $from_mail;
	
	/**
     *
     * @var string
     */
    public $from_name;
	
	/**
     *
     * @var string
     */
    public $reply_to_mail;
	
	/**
     *
     * @var string
     */
    public $reply_to_name;
	
	/**
     *
     * @var string
     */
    public $to_mail;
	
	/**
     *
     * @var string
     */
    public $to_name;
	
	/**
     *
     * @var enum
     */
    public $status;
	
	/**
     *
     * @var date
     */
    public $created_date;
	
	/**
     *
     * @var date
     */
    public $sent_date;
	
	
    

    /**
     * Constructor
     *
     * @param int $mail_id
     * @param string $template_id
     * @param string $subject
	 * @param string $content
     * @param int $created_user_id
	 * @param string $from_mail
	 * @param string $from_name
	 * @param string $reply_to_mail
	 * @param string $reply_to_name
	 * @param string $to_mail
	 * @param string $to_name
	 * @param enum $status
	 * @param date $created_date
	 * @param date $sent_date
     */
    public function  __construct($mail_id = null, $template_id = null, $subject = null, $content = null, $created_user_id = null, $from_mail = null, $from_name = null, $reply_to_mail = null, $reply_to_name = null, $to_mail = null, $to_name = null, $status = null, $created_date= null, $sent_date=null) {

        $this->mail_id = $mail_id;
        $this->template_id = $template_id;
        $this->subject= $subject;
        $this->content = $content;
		$this->created_user_id = $created_user_id;
        $this->from_mail = $from_mail;
        $this->from_name = $from_name;
        $this->reply_to_mail = $reply_to_mail;
		$this->reply_to_name = $reply_to_name;
        $this->to_mail = $to_mail;
        $this->to_name = $to_name;
        $this->status = $status;
		$this->created_date = $created_date;
		$this->sent_date = $sent_date;
    }
}


class ListMails{

    /**
     *
     * @var Branch[]
     */
    public $Mails;
}